using System;
using System.Web;
using System.Web.UI;
using Classes; 
using Classes.Objetos;
using Classes.DAL;
using System.Collections.Generic;



namespace catalogo
{
	public partial class Default : System.Web.UI.Page
	{
		
		public virtual void button1Clicked (object sender, EventArgs args)
		{
			CategoriaProvider cprov = new CategoriaProvider();
			
			List<Categoria> cat = cprov.SelectAll();
			foreach (Categoria cate in  cat)
			{
				Response.Write(cate.CategoriaID + " - " + cate.Descricao);
				
				
			}
			
			
			
	
			
			
		}
	}
}

